package com.shop.cereshop.business.service.order;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shop.cereshop.business.page.order.OrderProductAttribute;
import com.shop.cereshop.business.page.order.SkuDetail;
import com.shop.cereshop.business.param.order.ProductSku;
import com.shop.cereshop.commons.domain.order.CereOrderProductAttribute;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CereOrderProductAttributeService extends IService<CereOrderProductAttribute> {

    List<CereOrderProductAttribute> findBySkuId(Long skuId);

    Boolean removeByOrderProductId(Long orderProductId);

    List<OrderProductAttribute> findBySkus(List<ProductSku> skus);

    List<SkuDetail> queryByOrderProductId(Long orderProductId);
}
